<?php
USE_LIB('page');
USE_PAGE('index');
include_once( APP_ROOT . 'preferences/users_profiles.class.php5');

class PageProfils extends Page
	{
	protected function build()
		{
		$this->m_obj = $this->add( new Users_profiles('VAR') );
		$this->m_obj->setFilter('id!=0');
		$this->m_obj->perPage( 25, $this );
		$this->setDefaultPersistent( $this, $this->m_obj, 'f_name asc', null, 'f_name' );
		$this->m_obj->setDisplayDepth(1);
		}
		
	protected function getPageUrl()
		{
		return MAN_WWW . 'preferences/profils';
		}
		
	protected function getBreadcrumbTitle()
		{
		return 'Profils' ;
		}
		
	protected function getPageParent()
		{
		return 'PageIndex';
		}
	}
?>